import 'package:flutter/material.dart';

class Search extends StatefulWidget {
  Search({Key key}) : super(key: key);

  @override
  _SearchState createState() => _SearchState();
}

class _SearchState extends State<Search> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
          title: TextField(
            
            autofocus:true,
            decoration: InputDecoration(
              hintText:'输入搜索',
                contentPadding: EdgeInsets.all(10.0),
                fillColor:Colors.white,
                filled: true,
                prefixIcon:Icon(Icons.exit_to_app),
                border: OutlineInputBorder(
                  borderRadius: BorderRadius.circular(15.0),
                )),
          ),
          actions: <Widget>[
           
          ]),
      
    );
  }
}
